package com.joinway.framework.bean.security.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.joinway.framework.bean.security.type.CheckAction;
import com.joinway.framework.bean.security.type.CheckPoint;

@Deprecated
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface Security {
	CheckPoint[] value() default CheckPoint.Session;
	CheckAction action() default CheckAction.Request;
}
